Short:    ARexx script to convert lha arcs to lzx
Author:   chris@chewy.demon.co.uk (Chris Hewitt)
Uploader: chris@chewy.demon.co.uk (Chris Hewitt)
Type:     util/rexx


So you've got lzx and found that it packs better that lha. So what do you do
about all your lha archives?

Use lha2lzx that's what.
    -------

Usage: [rx] lha2lzx <Archive> [Temp <Temp Dir>] [Delete] [Quiet]

Where:

    rx	    the usual command to run an ARexx script.
	    If you set the script flag (protect lha2lzx +s), however, it
	    should run as any other script (as long as it is in the
	    search path).

    Archive is the lha archive to convert eg. fred.lha

    Temp    when this flag is specified the next parameter is taken to be
	    the temporary directory to be used to unarchive into.
	    (Actually a subdirectory is created in this one to ensure it is 'clean')
	    T: is used by default

    Delete  if this flag is specified then the original lha archive is deleted

    Quiet   if this flag is specified then all output from the
	    un-archiving/re-archiving process is sent to Nil:

Requirements
============

    An Amiga of some sort !
    ARexx running
    lha and lzx somewhere in the search path (Usually C:)


Distribution/Disclaimer
=======================

lha2lzx is placed in the public domain. All I ask is that if you alter it you
E-Mail me a copy of the new script (see below).

lha2lzx is to be used at your own risk. I cannot guarantee it will always work.


Contacting the author
=====================

You can contact me by E-Mail at:

    chris@chewy.demon.co.uk

or snail mail:

    Chris Hewitt
    11 Wragby Road East
    North Greetwell
    Lincoln
    Lincolnshire LN2 4RA
    England


Please feel free to send any pieces of paper bearing the Queen's head to the above
address :-))

------------------------------------------------------------------------------------

lha2lzx was written on an A1200 with:
    a Blizzard 1230-II 50 MHz '030 with 4Mb RAM (Upgraded to 8Mb this morning !!)
    a 170Mb Hard Drive

( Overkill I know, but it sounds good though :) )

------------------------------------------------------------------------------------

'I believe in peace, Bitch...' - The Waitress by Tori Amos
